import request from '@/utils/request'

// 查询Youtobe视频标签列表
export function listLable(query) {
  return request({
    url: '/youtobe/lable/list',
    method: 'get',
    params: query
  })
}

// 查询Youtobe视频标签详细
export function getLable(id) {
  return request({
    url: '/youtobe/lable/' + id,
    method: 'get'
  })
}

// 新增Youtobe视频标签
export function addLable(data) {
  return request({
    url: '/youtobe/lable',
    method: 'post',
    data: data
  })
}

// 修改Youtobe视频标签
export function updateLable(data) {
  return request({
    url: '/youtobe/lable',
    method: 'put',
    data: data
  })
}

// 删除Youtobe视频标签
export function delLable(id) {
  return request({
    url: '/youtobe/lable/' + id,
    method: 'delete'
  })
}
